
<!--left-->
<div class="left">

    <!--sildbar-->
    <div class="sildbar">
        <dl>
            <?php if ($rootid == $catid) { ?>
            <dt style="background-color:#dedede; color:#09C;">
            	全部列表
            <?php } else { ?>
            <dt style="background-color:#f5f5f5; color:#999;">
            	<a href="<?php p(HTTP_URL . '/' . $objTreeList->arrIdAll[$rootid]['name_en'] . '.html') ?>">全部列表</a>
            <?php } ?>
            </dt>
            <?php
            foreach ($objTreeList->arrIdAll as $strTemp => $arrTemp) {
                $objTreeList->arrIdAll[$strTemp]['strActive'] = ($catid == $strTemp ? ' class="ddactive"' : '');
                $objTreeList->arrIdAll[$strTemp]['strHttpUrl'] = HTTP_URL;
            }
            $objTreeList->strItem = '<dd{$strActive}><a href=\"{$strHttpUrl}/{$name_en}.html\">{$strSep}{$name}</a></dd>';
            p($objTreeList->genHtml($objCatList->arrIdRelation[$rootid]));
            ?>
    	</dl>
    </div>
    
    <?php
    $arrHot = Helper::loadModel('content')->getHots(10, 500, $rootid);
    if ($arrHot && count($arrHot) > 0) {
    ?>
    <div class="list_news">
        <h3>热门推荐</h3>
        <ul>
            <?php $intTemp = 0; foreach ($arrHot as $arrTemp) { $intTemp ++; ?>
            <li><a target="_blank" href="<?php p(HTTP_URL . '/' . $arrCatAll['_' . $arrTemp['cat_id']]['name_en'] . '-' . $arrTemp['id'] . '.html') ?>"><span<?php $intTemp <= 3 && p(' class="top3"') ?>><?php p($intTemp) ?></span><?php p($arrTemp['title']) ?></a></li>
            <?php } ?>
        </ul>
    </div>
    <?php } ?>
</div>
